    
#include "CameraApi.h" //相机SDK的API头文件

#include "opencv2/core/core.hpp"
#include "opencv2/highgui/highgui.hpp"
#include <stdio.h>

using namespace cv;extern unsigned char           * g_pRgbBuffer;     //处理后数据缓存区
class Camera{
public:
    Camera();
    ~Camera();
    Mat getImage();
    int InitCamera();
    
    int                     iCameraCounts = 1;
    int                     iStatus=-1;
    tSdkCameraDevInfo       tCameraEnumList;
    int                     hCamera;
    tSdkCameraCapbility     tCapability;      //设备描述信息
    tSdkFrameHead           sFrameInfo;
    BYTE*			        pbyBuffer;
    int                     iDisplayFrames = 10000;
    //IplImage *iplImage = NULL;
    int                     channel=3;
};